home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
7
/
DISK0478.ZIP
/
POKING.TXT
< prev
next >
Wrap
Text File
|
1986-02-20
|
2KB
|
35 lines
POKing Around On The Fixed Disk
Chris Thomas
UCLA
The other day I was investigating how many files I could put on my fixed
disk. The DOS manual indicated that the format of the disk depends on how
much of it is allocated for DOS. So I POKEd around and found that when
allocated entirely for DOS use, the 20740 sectors on the 10MB Fixed Disk
are allocated as follows:
# of
Sectors Use
-------- -----------
1 System boot and partition map
1 DOS boot record
8 FAT
8 FAT - duplicate copy
32 Directory
20688 Data sectors (2586 clusters)
2 Unused sectors(not mapped
by FAT)
68 Cylinder 305, used by
diagnostic routines
There are eight sectors per cluster, meaning the smallest file takes 4K.
This is necessitated by the architecture of the File Allocation Table,
which allows a maximum of 4087 clusters. The directory has space for 512
files, unless there is some other limitation in DOS.
One result of this exploration is that I feel much pressure to use
subdirectories to keep from running out of directory space. Although
subdirectories are fine for some data, many things only coexist with
subdirectories and don't actually support them.